import Vue from 'vue'
import App from './App.vue'
import router from './routers'
import store from './store'
import './utils/tool.js'  //执行一下这个tool.js文件
import { Loading,MessageBox } from 'element-ui';
// import { Form,Field } from 'vant';   //按需使用vant组件库
import { Form,Button,Field,ActionSheet,Dialog, Cell, CellGroup,Popup,Area } from 'vant';




Vue.config.productionTip = false;
Vue.use(Loading.directive);
Vue.prototype.$confirm = MessageBox.confirm;
Vue.use(Form);
Vue.use(Field);
Vue.use(Button);
Vue.use(ActionSheet);
Vue.use(Dialog);
Vue.use(Cell);
Vue.use(CellGroup);
Vue.use(Popup);
Vue.use(Area);





new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
